#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
@FileName: CookieLogin3.py
@Time    : 2022/3/22 10:54
@Author  : 热气球
@Software: PyCharm
@Version : 1.0
@Contact : 2573514647@qq.com
@Des     : Cookie模拟登陆三
"""
import requests

s = requests.session()


def log():
    # post_url:F12抓包抓到的，验证登录的地址
    post_url = 'https://www.zhenai.com/api/login/userLogin.do'
    # get_url = 'https://home.cnblogs.com/set/profile/'
    headers = {
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36'
    }
    form_data = {
        'v': '2uoiJ4hP3NUoP9v_eBNfU6CR',
        'c': '03AGdBq24o9dpICG2DBNtWAWl3nt4X3wpOhL8_4aW01qo8fRP8eT5nexihE2G4zcQaFEJq0GMplo_DewJ3A7tvjpKk5WoFMcKmR8E_Kf48VGkojDX6dXHH54XT_5pxI7cdoiYq-FfYuX3NKomBnqp-HslcurtE0CbRhO3RejTk96FiTD5CH0UR9V1TQDBREsg2DkmayOjIr8-Xv1DNKv4y5ErFn8MoxVVHuTSln4mehL8UoZdr-Z6fpFbFnOitXbzZ2HgmysAkLTUswMeIiCLZho6nQ2ye0iPKd9bDpCWX3RdgeB-FJkLcPJlTvjoRrPfaH7i8jU1QXvCQokzJT3SvSnCSEsjAWJ0nDz8989-mdI76aLWTUqVaF1FVk43yAbtyNTDCkruJwnU4IbRiKWrdJzWfjOkTpW-DJ4XWbsROzwgoy4kQMd2Ncxm5OiZa239a6MSzdnY4Pj6GiIIE2rHZN7X0xzbVxSyp5t3v1YBd2fDZWBcxDl7oXB6zPDBspdfybd8eyuXcEGD3peW8bvXrToeMP-CjiogVV_qo_CM0GAhv9eKzVllQJpsEMXCFI0O6TSMCezJtxBfEFIpILUG9nEZodPvgLmKR02YN2BT99ndTtXj9k-tNYcUzpOkPO81idpknsfFvj3LTpmqDiGx_FnLfyabU9luWUN5gi1Y5RAli6S-8t0w9HqQIql5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qT4WO3brb0aAwp9VTRXngG7XwYqvFjt4o1F39DkYl1_ADjQdNiZtTbGODrHR3fQbPFR98gUeq7ND0wVHm0plgMBrEPZ3heItIwng0rMbQpmZTpeRNDkPjlsQ1jF2Y2md80x2yIC0ZiBsMM63Ty3JlMJbe3monFi-zLZFDKLr74WHD88hMrhsChiLUcXaa0yul_zRvGDfHjLu2Ru5dHax1BkbFH50p4xjJ9hMivvL_hPrAwoladM6ZOuP-bOnlgzrC-22UE3g40s8Jc5Fd9QVc0sgRVRTAVFQAMnY9go7fL-3o1qVFq_JIkPz-ML85MyTTKe9r7-8bLbDlVR9HJ0_iRVdIfDFMIo9Pwur7XL4pInJqygyeCxH7_xIZIBOEnBQChrDMI-Qbvcmo_0lIDGLzVG1aj0PhfDgSQmXQX0xuDQlwQV8ztNdf4q9ybo-0FU0y9SfJfP8-KgpUTBqRBQJ3WxfYK60r0Z3OPmgBEj3lO3nbNIXdVsrFN1nQCPLQ0Sn1-dVLvUHdLP0wFLpQoIEeb6uI4pCly1ARhUxp4azacQdIKuglIhQMY2x90ZaK6fqN44LesNUnLo6Huw6bIirF7666rqpx7dvqe_JCKhVq0-e4RA'
    }

    # NUmanuma3
    # 1408797843
#https://webapi.sdhwlw.com/Home/ThumbnailGetList/%7BRecords:05%7D
    # 1、先登录
    psot_html = s.post(url=post_url, headers=headers, data=form_data).text
    # print(psot_html)
    # 2、在抓取新页面
    html = s.get().text
    # s.encoding = 'utf-8'
    # 3、在响应内容中确认是否有账号相关信息(完善个人信息)
    print(html)


log()
